/**
 * Created by Xiaoming on 2017/9/2.
 */
angular.module('common.order', [
        'ui.router',
        'module.order'
        //'module.service'
    ])
    .run(
        [          '$rootScope', '$state', '$stateParams',
            function ($rootScope,   $state,   $stateParams) {
                $rootScope.$state = $state;
                $rootScope.$stateParams = $stateParams;
            }
        ]
    )

    .config(
        [          '$stateProvider', '$urlRouterProvider','$locationProvider',
            function ($stateProvider,   $urlRouterProvider,$locationProvider) {
                $urlRouterProvider.otherwise('orderhistory/977534855/wxd58951ae0414cb55/1');
                $locationProvider.html5Mode(html5mode);
            }
        ]
    );